<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.my.pojo.Check" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3 align="center">考勤信息查询结果</h3>

<table border="1" align="center" width="50%"    cellspacing="0" bordercolor="#000000" >
  <tr>
    <th>序号</th>
    <th>用户Id</th>
    <th>签到时间</th>
    <th>签到描述</th>
  </tr>
  <%
    List checkList=(ArrayList)session.getAttribute("checkList");
    for(int i=0;i<checkList.size();i++){
      Check check= (Check) checkList.get(i);

  %>
     <tr>
      <td align="center"> <%=i+1%></td>
      <td align="center"><%=check.getUserId()%></td>
      <td align="center"><%=check.getCheckTime()%></td>
      <td align="center"> <%=check.getCheckDesc()%></td>
    </tr>
<%
  }
%>
</table>
</body>
</html>
